package com.woniu.cq.mallorder.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

/**
 * @author Daniel
 * @version 1.0.0
 * @ClassName ProductService
 * @Description TODO
 * @createTime 2020年09月21日 17:55:00
 */
@Service
public class ProductService {
    @SentinelResource(value = "xxService",blockHandlerClass = ProductServiceBlock.class,fallbackClass = ProductServiceFallback.class)
    public String xxService() {
        int i = 1/0;
        return "xx";
    }


}